#ifndef CMD_BLCK_H
#define CMD_BLCK_H

#include <QWidget>
#include <QProcess>
#include "../MACRO.h"
namespace Ui {
class cmd_blck;
}

class cmd_blck : public QWidget
{
    Q_OBJECT

public:
    explicit cmd_blck(QWidget *parent = nullptr);
    ~cmd_blck();

private slots:
    void on_bat_sel_clicked();

    void on_bat_run_clicked();
private:
    Ui::cmd_blck *ui;
public:
    void run_bat_script(QString pns_bat);
//add public slot for cmd run
public slots:
    void on_bat_run_cmd(QString i_cmd);
public slots:
    void update_file_path(QList<QString>);
};

#endif // CMD_BLCK_H
